package com.coderlin.mapper;

import com.coderlin.entities.Send;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <Description> <br>
 *
 * @author Coder_Lin<br>
 * @version 1.0<br>
 * @taskId: <br>
 * @createDate 2021/07/28 11:14 <br>
 * @see com.coderlin.mapper <br>
 */
public interface SendMapper {

    /**
     * 查询员工送水总数
     * @return
     */
    List<Send> sendList();

    /**
     * 模糊查询，查找匹配的worker
     * @param workerName
     * @return
     */
    List<Send> searchSend(@Param("workerName") String workerName);
}
